## Используемые модули :
 
#Отображение Батареи
[module/battery]
type = internal/battery
format-charging = <label-charging>
format-discharging = <label-discharging>
format-full = <label-full>
path = /sys/class/power_supply/BAT0
label-charging = %percentage%% 
label-discharging =   %percentage%% 
label-full =   %percentage%% 


##МОДУЛь ЯРКОСТИ

[module/bright]
type = custom/script
exec = light -G | awk '{printf "%d%%", $1}'
interval = 1
label =  %output%


#Блютуз
[module/blueman]
type = internal/counter
label = %output%
interval = 10
format-foreground = #ffffff
click-left = blueman-manager

[module/bluetooth]
type = custom/script
exec = echo ""
click-left = blueman-applet


# Отображение Воркспейсов
[module/xworkspaces]
type = internal/xworkspaces
label-active = %name% 
label-active-background = ${colors.background-alt}
label-active-underline= ${colors.primary}
label-active-padding = 1
label-occupied = %name%
label-occupied-padding = 1
label-urgent = %name%
label-urgent-background = ${colors.alert}
label-urgent-padding = 1
label-empty = %name%
label-empty-foreground = ${colors.disabled}
label-empty-padding = 1

# Подпись активного окна
[module/xwindow]
type = internal/xwindow
label = %title:0:60:...%

# Занятое место на диске
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /
label-mounted = %{F#F0C674}%mountpoint%%{F-}  %percentage_used%%
label-unmounted = %mountpoint% not mounted
label-unmounted-foreground = ${colors.disabled}

#Звук
[module/pulseaudio]
type = internal/pulseaudio
#format-volume-prefix = "VOL "
format-volume-prefix-foreground = ${colors.primary}
format-volume = <label-volume>
label-volume = %percentage%%
label-muted = muted
label-muted-foreground = ${colors.disabled}
click-right = pavucontrol
#Раскладка Клавиатуры
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
label-layout =  %layout%
label-layout-foreground = ${colors.secondary}
label-indicator-padding = 2 
label-indicator-margin = 1
label-indicator-foreground = ${colors.background}
label-indicator-background = ${colors.secondary}

#Занятое кол-во оперативки
[module/memory]
type = internal/memory
interval = 2
#format-prefix = "RAM "
format-prefix-foreground = ${colors.primary}
label =  %percentage_used:2%%

#Нагрузка ЦП
[module/cpu]
type = internal/cpu
interval = 2
#format-prefix = "CPU "
format-prefix-foreground = ${colors.primary}
label =  %percentage:2%%

#Что-то относящаеся к WIFI
[network-base]
type = internal/network
interval = 5
format-connected = <label-connected>
format-disconnected = <label-disconnected>
label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected

# ТИПО WIFI
[module/wlan]
inherit = network-base
interface-type = wireless
label-connected = %{F#F0C674}%ifname%%{F-} %essid%

#Проводная сеть
[module/eth]
inherit = network-base
interface-type = wired
label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%

# Дата и Время
[module/date]
type = internal/date
interval = 1
date = %H:%M
date-alt = %d-%m-%Y %H:%M:%S
label =  %date%
label-foreground =${colors.secondary`}

# Какие-то настройки
[settings]
screenchange-reload = true
pseudo-transparency = true

#ТРЭЙ
[module/tray]
type = internal/tray
format-margin = 6px
tray-spacing = 6px


###Погода
[module/weather]
type = custom/script
exec = /home/darkside/.config/bspwm/scripts/weather.sh
tail = false
interval = 960


#Powermenu
[module/powermenu]
type = custom/text
content = 
click-left = exec /home/darkside/.config/bspwm/scripts/powermenu.sh

